package com.ruoyi.system.domain.deviceAlarm;

import com.alibaba.fastjson2.JSONObject;
import lombok.Data;

@Data
public class BpAlarm {
    private String timeStamp;
    private int sbp;
    private int dbp;

    public BpAlarm(JSONObject data){
        timeStamp=(String)data.get("timeStamp");
        sbp=(Integer)data.get("sbp");
        dbp=(Integer)data.get("dbp");
    }
}